package hotel.compare.oversea.controller;

import hotel.compare.oversea.service.CompareHotelRoomBedService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 效验酒店床型信息
 * @Author lmf
 * @Date 2020/6/2 14:30
 **/
@RestController
@Api(value = "CompareHotelRoomBedController",tags = {"效验酒店房型信息"})
@RequestMapping("/compareHotelRoomBed")
@Slf4j
public class CompareHotelRoomBedController {
    @Autowired
    private CompareHotelRoomBedService compareHotelRoomBedService;
    /**
     * 效验酒店房型
     */
    @GetMapping("/compareHotelRoomBed")
    @ApiOperation(value = "效验酒店房型信息",notes = "必须经过oauth2授权")
    public void CompareHotelRoomBed(){
      log.info("开始效验床型");
      compareHotelRoomBedService.compareHotelRoomBed();
    }
}
